//
//  BDNetworkManager.h
//  HSY
//
//  Created by 陈浩 on 2017/4/11.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BDRequest.h"

@interface BDNetworkManager : NSObject

@property (nonatomic,strong) NSString *hostURL;  // 主机地址
@property (nonatomic, strong) NSString *fileUrl;

+(instancetype) sharedInstatce;

+ (void)POST:(BDRequest *)request success:(BDSuccessHandler)success failure:(BDErrorHandler)failure;
- (void)POST:(BDRequest *)request success:(BDSuccessHandler)success failure:(BDErrorHandler)failure;

+ (void)POST:(BDRequest *)request completionHander:(BDCompletionHandler)completion;
- (void)POST:(BDRequest *)request completionHander:(BDCompletionHandler)completion;

@end
